package com.ws.ssmzongjie3.bean;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class Orders {
    private Integer order_id;
    private Integer route_id;
    private Integer user_id;
    private Integer orders_state;
    private Integer orders_price;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date buy_date;
    private Integer adult;
    private Integer child;

    private Route route;
    private User user;

}
